package com.wct.jms;

import java.io.Serializable;

public class JMSMessage implements Serializable{
	private static final long serialVersionUID = 7985343072934723365L;
	public enum Type{ 
    	/*设备端紧急包*/
    	DEVICE_URGENCY,
    	/*客户端配置修改*/
        APP_EDITDEVICEINFO,  
        /*栅栏报警*/
        NETTY_FENCEALERT,
        //电量报警
	    BATTERY,
	    //离线报警
	    OFFLINE,
	    //手动模式获取GPS
	    APP_GETGPSMANUAL};
    private Type type;
    private String deviceId;
    private String addition;
    private String detail;
	public Type getType() {
		return type;
	}
	public void setType(Type type) {
		this.type = type;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getAddition() {
		return addition;
	}
	public void setAddition(String addition) {
		this.addition = addition;
	}
}
